package com.yang.service.impl;

import com.yang.mapper.EpidemicMapper;
import com.yang.pojo.dto.CityAndNum;
import com.yang.service.EpidemicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: gdp-epidemic
 * @description: 地区城市疫情情况
 * @author: 杨洲
 * @create: 2021-09-29 23:34
 **/

@Service
public class EpidemicServiceImpl implements EpidemicService {

    @Autowired
    private EpidemicMapper epidemicMapper;

    @Override
    public List<CityAndNum> queryAll() {
        return epidemicMapper.queryAll();
    }
}
